<!-- saved from url=(0022)http://internet.e-mail -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Welcome to FindFoodTruck.com</title>
<link rel="stylesheet" type="text/css" href="main.css"  />
<style type="text/css">
body {
	text-align: center;
}
</style>
<script>
	function validation() {

		valid = true;

		
		var reg_email = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,45})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i ;
		var reg_password =  /^[A-Za-z0-9]{3,20}$/;
		
		
		
		var email = document.form1.user.value;
		var password = document.form1.pass.value;
	

		if (!reg_email.test(email)) {
			document.getElementById('uservalidation').innerHTML = '<font color="red">Eg: abc@abc.com (max 45 char )</font>';
			valid = false;
		}
		
		if (!reg_password.test(password)) {
			document.getElementById('passwordvalidation').innerHTML = '<font color="red">Password must be 3- 20 char with only numbers ,digits</font>';
			valid = false;
		}
		
		return valid;
	}
</script>
</head>
<body>
	<div>
		<b>Welcome to FindFoodTruck.com </b>
	</div>
	<br>

	<form name="form1" id="form1" method="post" action="SignIn">
		<fieldset>
		Dear Customer Please login  to know more about your food trucks
			<table>
				<tr>

					<td>
						<div class="form-row">UserName(Email id acts as User Name)</div>
					</td>
					<td><input type="text" name="user" id="user" /></td>
					<td><div id="uservalidation"></div>
					<td>
				</tr>
				<tr>

					<td>
						<div class="form-row">Password</div>
					</td>
					<td><input type="password" name="pass" id="pass" /></td>
					<td><div id="passwordvalidation"></div>
					<td>
				</tr>
				<tr>
					<td>
						<div class="form-row">
							<input class="SignIn" type="submit" value="SignIn"
								onclick="return validation()">
						</div>
					</td>

				</tr>
			</table>

		</fieldset>
	</form>
	<form>
		<a href="CreateAccount.html">Don't have an account ? Create New
			Account</a>
	</form>



</body>
</html>